<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="user/registerAction!register" method="post">
<table>
<tr><th colspan=2>注册界面</th></tr>
<tr><td>姓名：</td><td><input type="text" name="user.username"/></td></tr>
<tr><td>密码：</td><td><input type="text" name="user.userpwd"/></td></tr>
<tr><td colspan=2><input type="submit" value="注册用户"></td></tr>

</table>

</form>
</body>
</html>